package com.yoso.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * @author shizejin
 * @date 2022/8/1
 * @description:
 */
@TableName("t_user_consumer")
@Data
public class UserEntity extends Model {
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;
    @TableField("name")
    private String name;
    @TableField("username")
    private String username;
    @TableField("age")
    private Integer age;
}
